package com;

import com.yuhang.demo.util.PostUtil;
import org.apache.http.client.methods.HttpPost;

import java.util.*;
import java.util.stream.Collectors;

public class Xttt {

    public static void main(String[] args) throws InterruptedException {

        for (int i = 0; i < 100; i++) {


            for (int k = 0; k < 100; k++) {

                new Thread(new Runnable() {
                    @Override
                    public void run() {
                        PostUtil.httpGet("http://localhost:7211/test");
                    }
                }).start();

            }

            Thread.sleep(100);

        }
    }
}
